Usage:
1. copy *.py and lego.cfg to the Blender script directory
2. dl Complete LDraw.org Parts Library from 
   http://www.ldraw.org/modules.php?op=modload&name=Downloads&file=index&req=getit&lid=2
   and decompress it with directory using winzip
   The car.dat and pyramid.dat is coming with
   http://www.ldraw.org/modules.php?op=modload&name=Downloads&file=index&req=getit&lid=60
3. edit lego.cfg according to your installation in step 2
4. update your blender scripts menu. The script can be found under Export and Import


bugs
1. choice of simular colors. btw:The color is taken from http://isodomos.com/VPH/ColorLego
2. type 1 during reading data file
   see "asm in blender.jpg" and "asm in cad.jpg"

to do
1. assign color to face. a mesh can have 16 materials at most, what if a Lego part has
   more than 16 colors? 
2. type 0, 5 when read data file
3. speed up. The re-index on vertices and faces needs a very big memeory, 
   and costs too much time. Maybe skip it and let the user "remove doubles". Well, 
   I prefer to a python interface to "remove doubles" very much. 
4. GUI
